// 

#include <QObject>

#include <qwt_plot.h>
#include <qwt_plot_marker.h>
#include <qwt_plot_curve.h>
#include <qwt_legend.h>
/*#include <qwt_series_data.h>*/
#include <qwt_plot_canvas.h>
#include <qwt_plot_panner.h>
#include <qwt_plot_magnifier.h>
#include <qwt_text.h>
#include <qwt_math.h>


class Plot : public QObject
{
	Q_OBJECT

public:
    Plot(QWidget *parent = NULL);
    QwtPlot* getQwtPlot();

public slots:
     void setValue(double *, unsigned int, unsigned int, unsigned int);

private:
    QwtPlot* qwtplot;
    void populate();
    QVector<QPointF> * ecdf(double *clkarray, unsigned int clk_size);
    
};
